package edu.psu.geovista.app.vit.pub.views;

import javax.swing.*;
import java.awt.*;/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c) 2002, GeoVISTA Center
 * Licensed under Simplified BSD License
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 * @original author: jin Chen 
 * @author: jin Chen 
 * @date: Nov 10, 2008$
 * @version: 1.0
 */

public interface View {
    public static final String TYPE_GEOMAP="GeoMap";
    public static final String TYPE_PCP="PCP";
    public static final String TYPE_SCATTERPLOT="Scatterplot";
    public static final String TYPE_TABLE="Table";
    public static final String TYPE_Classifier="Data Classifier";
    public static final String TYPE_DendroMatrix="Dendro-Matrix";
   // public static final String TYPE_GEOMAP="GeoMap";
    //public static final String TYPE_GEOMAP="GeoMap";

    public static final int CREATION_ORDER_DEFAULT=100; //the larger, the higher priority, the ealier to create
        public static final int CREATION_ORDER_NULL=0; // unassigned value
        String getName();

        void setName(String name);

        String getID();

        void setID(String ID);

        Rectangle getBound();

        void setBound(Rectangle layout);


     public VitPubViewMgr getViewMgr();

    public void setViewMgr(VitPubViewMgr viewMgr);

    JComponent getViewComponent();

    /*void setViewComponent(JComponent viewComponent);*/
/*
    public boolean isSave() ;
    public void setSave(boolean save) ;*/
    public String getViewType() ;
    public void setViewType(String viewType);
    public boolean isSave() ;
    public void setSave(boolean save) ;
}
